<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">var newsMain_newType='${param.newType}'</script>
<script type="text/javascript" src="../scripts/itsm/news/newsMain.js"></script>
</head>
<body>
<div class="content">

<div id="newsMainGridToolbar" style="padding: 0px;display: none;">
&nbsp;<a onclick="itsm.news.newsMain.openAddWin()" class="easyui-linkbutton" id="newsMainGrid_add" icon="icon-add" plain="true">添加</a>
<a onclick="itsm.news.newsMain.openEditWin()" class="easyui-linkbutton" id="newsMainGrid_edit" icon="icon-edit" plain="true">修改</a>
<a onclick="itsm.news.newsMain.deleteNews()" class="easyui-linkbutton" id="newsMainGrid_del" icon="icon-cancel" plain="true">删除</a>
<a onclick="itsm.news.newsMain.openSearchWin()" class="easyui-linkbutton" id="newsMainGrid_search" icon="icon-search" plain="true">搜索</a>
</div>
<table id='newsMainGrid'></table>
<div id='newsMainPager'></div>

<%-- 内容搜索 --%>
<div title="内容搜索 " id="newsMain_search_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="newsMain_search_form">	
	<table>

		<tr>
			<td>标题</td>
			<td>
				<input name="newsDTO.titile" class="input"/>
			</td>
		</tr>
		<tr>
			<td>描述</td>
			<td>
				<input name="newsDTO.content" class="input"/>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<a class="easyui-linkbutton" icon="icon-save" href="javascript:itsm.news.newsMain.searchNews()">搜索</a>
			</td>
		</tr>
	</table>
	</form>
</div>
</div>

</body>
</html>